import request from '@/utils/request'
export function sendVerifyCode(params) {
    return request({
        url: '/sms/sendCaptcha',
        method: 'POST',
        data: params
    }).then(data => data)
}
//提醒内容
export function remindContent() {
    return request({
        url: '/remind/content',
        method: 'POST',
        data: {}
    }).then(data => data)
}
//上传员工企微二维码
export function uploadWxWorkQrCode(params) {
    const { file, type } = params
    let formData = new FormData();
    formData.append('file', file);
    return request({
        url: '/staff/upload/workWxQrCode',
        method: 'POST',
        data: formData,
        timeout: 1000 * 60 * 3,
    }).then(res => {
        return res
    })
}